'use strict';


// Declare app level module which depends on filters, and services
angular.module('myApp', ['myApp.filters', 'myApp.services', 'myApp.directives']).
  config(['$routeProvider', function($routeProvider) {
    $routeProvider.when('/', {template: 'partials/explorer.html', controller: ExplorerCtrl});
    $routeProvider.when('/folder/:name', {template: 'partials/list.html', controller: FolderCtrl});
    $routeProvider.otherwise({redirectTo: '/'});
  }]);
